import Vue from 'vue'
import App from '../views/Popup/index.vue'
import utilEventBus from '../utils/eventBus'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import store from '../store'
import componentsBase from '@/components-base'
import '@/icons' // icon
import '@/styles/index.scss' // global css
import Mock from "@/_mock"

Vue.use(ElementUI)

Vue.prototype.$EventBus = utilEventBus
Vue.config.productionTip = false
//注册ui组件
Vue.use(componentsBase);
Vue.use(Mock);

new Vue({
  store,
  render: (h) => h(App)
}).$mount('#app')
